let vm = new Vue({
    el: "#app",
    data: {
        searchText: "",
        searchArr: ["三文鱼", "刺身", "烧烤", "烤肉饭"]
    },
    methods: {
        baocun() {
            this.searchArr.push(this.searchText);
            this.searchText = "";
        }
    }
})